﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/ViewMasterPage1.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
	<title>Index</title>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Index</h2>

    <fieldset>
    <%if ((ViewData["StartYear"] != null) && (ViewData["EndYear"] != null))
              {%>
    <p>Từ năm <%=Html.DropDownList("StartYear",(SelectList)ViewData["StartYear"]) %> đến năm <%=Html.DropDownList("EndYear",(SelectList)ViewData["EndYear"]) %></p>
    <%} %>
    
          <p><input type="submit" value="Thống kê theo năm" /></p>
         
    </fieldset>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="PersonalMenu" runat="server">
</asp:Content>
